package com.haoze.nurseapp.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurseapp.model.OralOrdersRelationEntity;
import com.haoze.nurseapp.model.PrintMarkEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OralOrdersRelationMapper extends MyMapper<OralOrdersRelationEntity> {

    void deleteByOralCode(@Param("qrcode") String qrcode);

    List<String> selectByOralCodeCount(@Param("qrcode") String qrcode);

    List<String> selectUnPrintOrderNo(@Param("orderNos") List<String> orderNos, @Param("qrcode") String qrcode);

    String getCurrentNodeId(@Param("qrCode") String qrCode, @Param("inpatNum") String inpatNum, @Param("orderNo") String orderNo, @Param("orderSubNo") String orderSubNo);
}



